package com.it.ymcc.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.it.ymcc.entity.Permission;
import com.it.ymcc.entity.User;
import com.it.ymcc.mapper.UserMapper;
import com.it.ymcc.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<String> findPsById(Long roleId) {
        List<String> permissionList = userMapper.findPsById(roleId);
        return permissionList;
    }
}
